/*
 * Cache.h
 *
 *  Created on: Nov 17, 2014
 *      Author: lfelipe
 */

#ifndef CACHE_H_
#define CACHE_H_

#include <set>

#include  "Individual.h"
class Cache
{
    std::set<Individual,Individual::Individual_Compare> individuals;

public:
    Cache();
    virtual ~Cache();

    int  add_cache(const Individual & individual);

    void remove_cache(const Individual & individual);

    Individual  obtain_individual(const std::vector<Cell*> &cell_list) const;


};

#endif /* CACHE_H_ */
